﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>header</title>
<link href="../theme/updown/css/main.css" rel="stylesheet"
	type="text/css" />
<script src="../theme/updown/js/mainjs.js"></script>
</head>
<script type="text/JavaScript">
function nav(n,k){
for(var i=1;i<=n;i++){
	if(i!=k){
	document.getElementById("tab_"+i).className="tabon";
	}
	else{
	document.getElementById("tab_"+i).className="tabout";
	}
}
}

var MenuText = new Array(6);
    var MenuEven = new Array(6);
    MenuText[1] = ["部门管理","人员管理","角色管理"];
    MenuText[2] = ["新闻管理","每月简报","消费警示"];
    MenuText[3] = ["编码维护","工作流程"];
    MenuText[4] = ["编码维护","工作流程"];
	MenuText[5] = ["编码维护","工作流程"];
	MenuText[6] = ["编码维护","工作流程"];
	MenuText[7] = ["编码维护","工作流程"];
	MenuText[8] = ["编码维护","工作流程"];
	MenuText[9] = ["编码维护","工作流程"];

    MenuEven[1] = ["url11","url12","url13"];
    MenuEven[2] = ["url21","url22","url132"];
    MenuEven[3] = ["url31","url32"];
	MenuEven[4] = ["url31","url32"];
	MenuEven[5] = ["url31","url32"];
	MenuEven[6] = ["url31","url32"];
	MenuEven[7] = ["url31","url32"];
	MenuEven[8] = ["url31","url32"];
	MenuEven[9] = ["url31","url32"];

var  oPopup = window.createPopup();


function getLeftIE(x,m) {
  var dx=0;
  if (x.tagName=="TD"){
    dx=x.offsetLeft;
  }
  else if (x.tagName=="TABLE") {
    dx=x.offsetLeft;
    if (m) { dx+=(x.cellPadding!=""?parseInt(x.cellPadding):2); m=false; }
  }
  return dx+(x.parentElement.tagName=="BODY"?0:getLeftIE(x.parentElement,m));
}
function getTopIE(x,m) {
  var dy=0;
  if (x.tagName=="TR"){
    dy=x.offsetTop;
  }
  else if (x.tagName=="TABLE") {
    dy=x.offsetTop;
    if (m) { dy+=(x.cellPadding!=""?parseInt(x.cellPadding):2); m=false; }
  }
  return dy+(x.parentElement.tagName=="BODY"?0:getTopIE(x.parentElement,m));
}


function ButtonClick(node,t)
{   

    var left = getLeftIE(node,true)+2;  
    var top = getTopIE(node,true)+75;

    var width = 103;
    var height = MenuText[t].length*26;    

    oPopup.document.body.innerHTML = "";
    var oPopBody = oPopup.document.body;
    oPopup.show(left,top, width, height, document.body);      
        oPopup.document.open;

        oPopup.document.write("<body leftmargin=0 topmargin=0 scroll=no style='border : 0 px;' onmouseover=clearTimeout(parent.popt); onmouseout=parent.popt=setTimeout('parent.oPopup.hide()',10);>");


        oPopup.document.write("<table width=100%  height=100% style='border-collapse : collapse;'>");
    for(var i=0;i<MenuText[t].length;i++)
        {
        oPopup.document.write("<tr><td background='../theme/updown/images/h.png'  bgcolor=#b4d9fe  style='border-top : #8eb4ce 1px solid;border: #8eb4ce 1px solid;mouse : hand; font-size : 12px; color:#000;text-align:center;vertical-align : center;CURSOR: hand' onmouseover=this.background='../theme/updown/images/h1.png'; onmouseout=this.background='../theme/updown/images/h.png'; height='15' onclick='parent.parent.mianFrame.location.href=\""+MenuEven[t][i]+"\"';>"+MenuText[t][i]+"</td></tr>");
        }
        oPopup.document.write("</table></td></tr></table>");
        oPopup.document.write("</body>")
}



</script>
<body>
<div id="headerTop">
<div class="logo floatLeft"></div>
<div class="username floatRight">
<table width="317" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="221" height="20" align="right">
		<div class="headToptext">欢迎您：<span>Eling</span>今天是：<span>2009－02－05
		</span>所属单位：<span>杭州市工商局</span></div>
		</td>
	</tr>
</table>
<table width="328" border="0" cellspacing="0" cellpadding="0"
	class="headerTable">
	<tr>
		<td width="8%"><img src="../theme/updown/images/home.gif" /></td>
		<td width="16%"><a href="#">返回首页</a></td>
		<td width="9%"><img src="../theme/updown/images/set.gif" /></td>
		<td width="16%" background="#"><a href="#">个人设定</a></td>
		<td width="8%"><img src="../theme/updown/images/quit.gif" /></td>
		<td width="17%"><a href="#">退出系统</a></td>
		<td width="10%"><img src="../theme/updown/images/help.gif" /></td>
		<td width="16%"><a href="#">帮助手册</a></td>
	</tr>
</table>
</div>
</div>
<div id="headerNav">
<table width="100%">
	<tr>
		<td align="left">
		<table width="897" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="113" class="tabon" id="tab_1"
					onMouseOver="nav(8,1);ButtonClick(this,1)">查询统计</td>
				<td width="113" class="tabout" id="tab_2"
					onMouseOver="nav(8,2);ButtonClick(this,2)">查询统计</td>
				<td width="113" class="tabon" id="tab_3"
					onMouseOver="nav(8,3);ButtonClick(this,3)">查询统计</td>
				<td width="113" class="tabon" id="tab_4"
					onMouseOver="nav(8,4);ButtonClick(this,4)">查询统计</td>
				<td width="113" class="tabon" id="tab_5"
					onMouseOver="nav(8,5);ButtonClick(this,5)">查询统计</td>
				<td width="113" class="tabon" id="tab_6"
					onMouseOver="nav(8,6);ButtonClick(this,6)">查询统计</td>
				<td width="113" class="tabon" id="tab_7"
					onMouseOver="nav(8,7);ButtonClick(this,7)">查询统计</td>
				<td width="106" class="tabon" id="tab_8"
					onMouseOver="nav(8,8);ButtonClick(this,8)">任务提示</td>
			</tr>
		</table>
		<td width="34" align="center" valign="bottom"><img
			src="../theme/leftright/images/headerNavClose.png" /></td>
		</td>
	</tr>
</table>
</div>
</body>
</html>
